package com.aaa.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author Bean
 * @since 2021-09-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("subscription_fans")
public class SubscriptionFans implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 发起关注用户主键
     */
    @TableField("initiative_id")
    private Integer initiativeId;

    /**
     * 被关注者用户主键
     */
    @TableField("passivity_id")
    private Integer passivityId;

    /**
     * 关注时间
     */
    @TableField("times")
    private Date times;

    @TableField("state")
    private Integer state;

}
